Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre-reset changes #7

Merged
merged 22 commits into from
Mar 20, 2019
Merged

Pre-reset changes #7

merged 22 commits into from
Mar 20, 2019

Conversation

deini
Copy link
Member

@deini deini commented Mar 20, 2019

All will be re-reviewed on project-reset

Important/Meta changes:

  • Locking all component styles, can't touch them 🎵

All changes:
fix(plab): tests now run with lerna setup
chore(all): bump dependencies
refactor(plab): remove deprecated method from polished
chore(storybook): update how we use a11y and viewport
fix(storybook): fix a11y violations
fix(plab): fix a11y violations
fix(plab): icon generation props
test(plab): basic button render tests
feat(plab): forwardRef for Form component
feat(plab): forwardedRef Input + remove unsed types
feat(plab): forwardRef for Checkbox
feat(plab): forwardedRef for Radio component
chore(plab): add peerDependencies
ci(all): bump yarn in travis
chore(storybook): change directory structure
test(plab): use react-testing-library
test(plab): checkbox + radio basic specs
test(plab): add more tests
test(plab): modal + panel tests
feat(plab): lock down styles
fix(storybook): prettier script
fix(plab): point to correct typings

Copy link
Member

@rtalvarez rtalvarez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm - it seems like users will no longer be able to further style our components, since the className prop is being left out. im ok with this since it makes it a bit harder for people to override our stuff. while working in the sample app i had the need to style plab components mostly to add margins, so we'll need to take care of that further down the road

<RawCheckbox {...props} forwardedRef={ref} />
));

export const Checkbox = hoistNonReactStatics(CheckboxWithForwardedRef, RawCheckbox);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍹 might be worthwhile to drop a comment saying statics are not passed automatically, maybe link to https://reactjs.org/docs/higher-order-components.html#static-methods-must-be-copied-over ??

@deini deini merged commit 5c3dec1 into bigcommerce:master Mar 20, 2019
@deini deini deleted the misc branch March 20, 2019 15:58
MariaJose added a commit to MariaJose/big-design that referenced this pull request Sep 16, 2021
* feat(component): create gucci box

* feat(component): apply suggestions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants